﻿<%@ Page Title="" Language="C#" MasterPageFile="~/FilStartUps.Master" AutoEventWireup="true" CodeBehind="MembersList.aspx.cs" Inherits="FilStartUps.MembersList" %>
<%@ Register src="Controls/FilStartUps_PageNav.ascx" tagname="FilStartUps_PageNav" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainNav" runat="server">
    <uc1:FilStartUps_PageNav ID="FilStartUps_PageNav1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="BodyHolder" runat="server">
<div style="padding:20px 0px 20px 0px;">
    <h1>Member List</h1>

Search Member:<asp:TextBox runat="server" ID="txtsearchmember"></asp:TextBox>
        <asp:Button runat="server" Text="Search" CssClass="btn" ID="btnSearch" 
        onclick="btnSearch_Click"/>
</div>
<asp:DataList runat="server"
 RepeatColumns="3"  RepeatLayout="Table" CellPadding="5" CellSpacing="15" ID="dlmemberlist">
    <ItemTemplate>
        <asp:Image runat="server" Width="150px" ImageUrl='<%# "../FilStartUps_Images.ashx?id=" + Eval("memberidPK") + "&cat = 1" %>' Height="100px" />
        <asp:LinkButton runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "emailaddress") %>'></asp:LinkButton>
        <br />
        <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "companyname") %>'></asp:Label>
    </ItemTemplate>
</asp:DataList>
    <div align="left" style="padding: 10px; margin-left: 120px;">
        <asp:LinkButton ID="lnkbPrev" runat="server" OnClick="lnkbPrev_Click">Prev</asp:LinkButton>
        &nbsp;&nbsp;
        <asp:LinkButton ID="lnkbNext" runat="server" OnClick="lnkbNext_Click">Next</asp:LinkButton>
    </div>
    <asp:Literal ID="litPageNumber" runat="server"></asp:Literal>
    <hr />
</asp:Content>
